package cn.marinda.listener;

import cn.marinda.gui.impl.CreateServerHelperImpl;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class OpenCreateServerEvent implements ActionListener {

    public OpenCreateServerEvent(){

    }
    /**
     * Invoked when an action occurs.
     *
     * @param e
     */
    @Override
    public void actionPerformed(ActionEvent e) {
        CreateServerHelperImpl.instance.close();
        CreateServerHelperImpl.instance.open();
    }
}
